<!doctype html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
<base th:href="@{/}">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="cache-control" content="no-cache" />
<meta http-equiv="expires" content="0" />
<th:block th:include ="commHeaderInclude::commHead"></th:block>
<title>审批终止授权</title>
	<style>
		.form{}
		.form .error{ color: #f30; margin-left: 20px; display: none;}
		.form .tips{ margin-left: 5px;}
	</style>
</head>
<body class="ht">
<th:block th:include="commHeaderInclude::loading"></th:block>
	<div class="content-wrapper">

		<div class="card mb-3">
			<div class="card-body">
				<h4 class="card-title">终止申请</h4>
				<div class="module">
					<table cellpadding="0" cellspacing="0" class="vTable">
						<tbody>
						<tr>
							<th>申请机构名称</th>
							<td th:text="${@util.fStr(vo.orgName)}">申请机构名称</td>
						</tr>
						<tr>
							<th>申请终止时间</th>
							<td th:text="*{#dates.format(vo.revokeApplyTime,'yyyy-MM-dd HH:mm:ss')}">2022-02-02 02:02:02</td>
						</tr>
						<tr>
							<th>申请终止原因</th>
							<td th:text="${@util.fStr(vo.revokeApplyReason)}">申请终止原因</td>
						</tr>
						</tbody>
					</table>
				</div>
			</div>
		</div>


		<form name="form" id="form" class="form" method="post" th:object="${dto}" onsubmit="ht.loading.open()">
			<input type="hidden" name="token" th:value="${session.token}">
			<div class="card mb-3">
				<div class="card-body">
					<h4 class="card-title">资金方审批</h4>
					<div class="module">
						<table cellpadding="0" cellspacing="0" class="vTable">
							<tbody>
								<tr>
									<th><span class="required">*</span>请审核</th>
									<td>
										<input type="radio" required value="2" name="revokeVerifyStatus" /><span class="ml-1 mr-2">同意终止</span>
										<input type="radio" required value="3" name="revokeVerifyStatus" /><span class="ml-1">拒绝终止</span>
										<span class="error" th:errors="*{revokeVerifyStatus}" th:if="*{#fields.hasErrors('revokeVerifyStatus')}"></span>
									</td>
								</tr>
								<tr>
									<th>意见</th>
									<td><textarea maxlength="200" name="revokeVerifyRemark" cols="50" rows="5" th:text="*{@util.fStr(revokeVerifyRemark)}" placeholder="请输入意见"></textarea>
										<span class="error" th:errors="*{revokeVerifyRemark}" th:if="*{#fields.hasErrors('revokeVerifyRemark')}">1111</span>
										<span class="tips">长度不超过200位</span>
									</td>
								</tr>
							</tbody>
						</table>
					</div>
				</div>
			</div>
			<div class="row">
				<input class="btn btn-primary btn-lg" type="submit" value="确 认" />
				<input class="btn btn-secondary btn-lg" type="button" value="取 消" onclick="parent.ht.closeAllFrameWindow()"/>
			</div>
		</form>
	</div>
</body>

<div class="ht-dialog auto" role="autoOpenDialog">
	<div class="wrapper">
		<h4 class="title" th:text="${result.msg}">提示</h4>
		<a class="ht-closeButton">close</a>
		<div class="content">
			<ul th:if="${#fields.hasErrors('dto.*')}">
				<li th:each="err:${#fields.errors('dto.*')}" th:text="${err}"></li>
			</ul>
		</div>
	</div>
</div>

<script>
	//seajs.use("/mcp/hos/finance/Form.js");
</script>
</html>